#^@layout()

#^define js()
    <script>
        #@adminListTable("#"+result.table.instanceName+"-list",result.table.instanceName,result.table.columns)
    </script>
#^end

#^define main()
    #^@breadcrumb(["xxx","xxx"])
   <div class="page-container">
       <div class="text-c">
           <input type="text" name="" id="" placeholder="检索条件" style="width:350px" class="input-text">
           <button name="" id="searchBtn" class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i>检索</button>
       </div>
       <div class="cl pd-5 bg-1 bk-gray mt-20">
    <span class="l">
        <a href="javascript:;" onclick="add()" class="btn btn-primary radius">添加</a>
    </span>
           <span class="r"></div>
       <div class="mt-20">
           <table class="table table-border table-bordered table-bg table-hover table-sort" id="#(result.table.instanceName)-list">
               <thead>
               <tr class="text-c">
                   #for(column:result.table.columns)
                     <th>#(column.columnRemark)</th>
                   #end
                   <th>操作</th>
               </tr>
               </thead>
               <tbody>
               </tbody>
           </table>
       </div>
   </div>
#^end
